package com.ruoyi.orderdoctor.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【订单医生关联表】对象 order_doctor
 * 
 * @author ruoyi
 * @date 2025-07-03
 */
@ApiModel(description = "订单医生关联表实体")
public class OrderDoctor extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 订单id */
    @ApiModelProperty(value = "订单ID", example = "订单ID")
    private String orderId;

    /** 医生id */
    @Excel(name = "医生id")
    @ApiModelProperty(value = "医生ID", example = "医生ID")
    private Long doctorId;

    public void setOrderId(String orderId)
    {
        this.orderId = orderId;
    }

    public String getOrderId()
    {
        return orderId;
    }

    public void setDoctorId(Long doctorId) 
    {
        this.doctorId = doctorId;
    }

    public Long getDoctorId() 
    {
        return doctorId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("orderId", getOrderId())
            .append("doctorId", getDoctorId())
            .toString();
    }
}
